﻿using System.Windows.Media;
using System.Windows.Shapes;

namespace Gmantis.Controls.Chart
{
    internal class ActionAdorner
    {
        // Fields
        private ActionCollection _actions;
        private Rectangle _rectangle = new Rectangle();

        // Methods
        public ActionAdorner(ActionCollection actions)
        {
            this._actions = actions;
            Rectangle rectangle = this._rectangle;
            rectangle.StrokeThickness = 1.0;
            rectangle.Stroke = new SolidColorBrush(Colors.DarkGray);
            rectangle.StrokeDashArray = new DoubleCollection();
            rectangle.StrokeDashArray.Add(4.0);
            rectangle.StrokeDashArray.Add(4.0);
            rectangle.Fill = new SolidColorBrush(Color.FromArgb(0x20, 0x80, 0x80, 0x80));
        }

        // Properties
        public Shape Shape
        {
            get
            {
                return this._rectangle;
            }
        }
    }
}
